From 8ce61a2eafe70afc6604860c636429dad1201ac0 Mon Sep 17 00:00:00 2001 From: "vh249@arcadians.cl.cam.ac.uk" Date: Fri, 10 Jun 2005 11:54:48 +0000 Subject: [PATCH] bitkeeper revision 1.1705.1.12 (42a97f88WORgYhHS8W4t6DR8V9a0EQ) signedness fix for gcc-4.0 Signed-off-by: Flavio Bruno Leitner Signed-off-by: Vincent Hanquez --- tools/python/xen/lowlevel/xs/xs.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/python/xen/lowlevel/xs/xs.c b/tools/python/xen/lowlevel/xs/xs.c index 98d7826809..6ecddc6fd4 100644 --- a/tools/python/xen/lowlevel/xs/xs.c +++ b/tools/python/xen/lowlevel/xs/xs.c @@ -85,7 +85,7 @@ static PyObject *xspy_read(PyObject *self, PyObject *args, PyObject *kwds) struct xs_handle *xh = xshandle(self); char *xsval = NULL; - int xsval_n = 0; + unsigned int xsval_n = 0; PyObject *val = NULL; if (!xh) @@ -134,7 +134,7 @@ static PyObject *xspy_ls(PyObject *self, PyObject *args, PyObject *kwds) struct xs_handle *xh = xshandle(self); PyObject *val = NULL; char **xsval = NULL; - int xsval_n = 0; + unsigned int xsval_n = 0; int i; if (!xh) @@ -183,7 +183,7 @@ static PyObject *xspy_get_permissions(PyObject *self, PyObject *args, struct xs_handle *xh = xshandle(self); PyObject *val = NULL; struct xs_permissions *perms; - int perms_n = 0; + unsigned int perms_n = 0; int i; if (!xh) -- 2.30.2